<script setup>
import cos from '@/hook/useCos.js'


const a = () => {

}
// a()



const func = () => {
  myPost("/order?auth=admin", { 'auth': 'admin' }, (res) => {
    console.log(res)
  }, "http://localhost:10010")
}


</script>

<template>
  <div>
    测试页面
    <div class="btn" @click="func">测试按钮</div>
  </div>
</template>

<style scoped lang="less">
.btn {
  background: green;
  width: 50%;
  height: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: 10px;
  margin: 10px auto;
}
</style>